<script>
	export default {
		globalData: {
			winH: 0,
			winW: 0,
			moveX: 0,
			moveY: 0,
		},
		onLaunch: function() {
			var that = this
			uni.getSystemInfo({
				success(res) {
					that.globalData.winH = res.windowHeight
					that.globalData.winW = res.windowWidth
					that.globalData.moveX = res.windowWidth-40
					that.globalData.moveY = res.windowHeight-200
				}
			})
		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
	
	page {
	  background-color: #eaf0f6;
	}
</style>
